Option Strict On
Option Explicit On 

Public Class USub
    Inherits System.Windows.Forms.UserControl

#Region " Windows Form Designer generated code "

    Public Sub New()
        MyBase.New()

        'This call is required by the Windows Form Designer.
        InitializeComponent()

        'Add any initialization after the InitializeComponent() call

    End Sub

    'Form overrides dispose to clean up the component list.
    Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean)
        If disposing Then
            If Not (components Is Nothing) Then
                components.Dispose()
            End If
        End If
        MyBase.Dispose(disposing)
    End Sub

    'Required by the Windows Form Designer
    Private components As System.ComponentModel.IContainer

    'NOTE: The following procedure is required by the Windows Form Designer
    'It can be modified using the Windows Form Designer.  
    'Do not modify it using the code editor.
    Friend WithEvents chkAutoSize As System.Windows.Forms.CheckBox
    Friend WithEvents gbMargins As System.Windows.Forms.GroupBox
    Friend WithEvents nudTopMargin As System.Windows.Forms.NumericUpDown
    Friend WithEvents nudRightMargin As System.Windows.Forms.NumericUpDown
    Friend WithEvents nudBottomMargin As System.Windows.Forms.NumericUpDown
    Friend WithEvents lblLeftMargin As System.Windows.Forms.Label
    Friend WithEvents lblRightMargin As System.Windows.Forms.Label
    Friend WithEvents lblTopMargin As System.Windows.Forms.Label
    Friend WithEvents lblBottomMargin As System.Windows.Forms.Label
    Friend WithEvents nudLeftMargin As System.Windows.Forms.NumericUpDown
    Friend WithEvents chkTabStop As System.Windows.Forms.CheckBox
    Friend WithEvents lblTabIndex As System.Windows.Forms.Label
    Friend WithEvents nudTabIndex As System.Windows.Forms.NumericUpDown
    Friend WithEvents txtToolTip As System.Windows.Forms.TextBox
    Friend WithEvents lblToolTip As System.Windows.Forms.Label
    Friend WithEvents cboChildRelation As System.Windows.Forms.ComboBox
    Friend WithEvents lblChildRelation As System.Windows.Forms.Label
    <System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
        Dim resources As System.Resources.ResourceManager = New System.Resources.ResourceManager(GetType(USub))
        Me.chkAutoSize = New System.Windows.Forms.CheckBox
        Me.gbMargins = New System.Windows.Forms.GroupBox
        Me.nudTopMargin = New System.Windows.Forms.NumericUpDown
        Me.nudRightMargin = New System.Windows.Forms.NumericUpDown
        Me.nudBottomMargin = New System.Windows.Forms.NumericUpDown
        Me.lblLeftMargin = New System.Windows.Forms.Label
        Me.lblRightMargin = New System.Windows.Forms.Label
        Me.lblTopMargin = New System.Windows.Forms.Label
        Me.lblBottomMargin = New System.Windows.Forms.Label
        Me.nudLeftMargin = New System.Windows.Forms.NumericUpDown
        Me.chkTabStop = New System.Windows.Forms.CheckBox
        Me.lblTabIndex = New System.Windows.Forms.Label
        Me.nudTabIndex = New System.Windows.Forms.NumericUpDown
        Me.txtToolTip = New System.Windows.Forms.TextBox
        Me.lblToolTip = New System.Windows.Forms.Label
        Me.cboChildRelation = New System.Windows.Forms.ComboBox
        Me.lblChildRelation = New System.Windows.Forms.Label
        Me.gbMargins.SuspendLayout()
        CType(Me.nudTopMargin, System.ComponentModel.ISupportInitialize).BeginInit()
        CType(Me.nudRightMargin, System.ComponentModel.ISupportInitialize).BeginInit()
        CType(Me.nudBottomMargin, System.ComponentModel.ISupportInitialize).BeginInit()
        CType(Me.nudLeftMargin, System.ComponentModel.ISupportInitialize).BeginInit()
        CType(Me.nudTabIndex, System.ComponentModel.ISupportInitialize).BeginInit()
        Me.SuspendLayout()
        '
        'chkAutoSize
        '
        Me.chkAutoSize.AccessibleDescription = resources.GetString("chkAutoSize.AccessibleDescription")
        Me.chkAutoSize.AccessibleName = resources.GetString("chkAutoSize.AccessibleName")
        Me.chkAutoSize.Anchor = CType(resources.GetObject("chkAutoSize.Anchor"), System.Windows.Forms.AnchorStyles)
        Me.chkAutoSize.Appearance = CType(resources.GetObject("chkAutoSize.Appearance"), System.Windows.Forms.Appearance)
        Me.chkAutoSize.BackgroundImage = CType(resources.GetObject("chkAutoSize.BackgroundImage"), System.Drawing.Image)
        Me.chkAutoSize.CheckAlign = CType(resources.GetObject("chkAutoSize.CheckAlign"), System.Drawing.ContentAlignment)
        Me.chkAutoSize.Dock = CType(resources.GetObject("chkAutoSize.Dock"), System.Windows.Forms.DockStyle)
        Me.chkAutoSize.Enabled = CType(resources.GetObject("chkAutoSize.Enabled"), Boolean)
        Me.chkAutoSize.FlatStyle = CType(resources.GetObject("chkAutoSize.FlatStyle"), System.Windows.Forms.FlatStyle)
        Me.chkAutoSize.Font = CType(resources.GetObject("chkAutoSize.Font"), System.Drawing.Font)
        Me.chkAutoSize.Image = CType(resources.GetObject("chkAutoSize.Image"), System.Drawing.Image)
        Me.chkAutoSize.ImageAlign = CType(resources.GetObject("chkAutoSize.ImageAlign"), System.Drawing.ContentAlignment)
        Me.chkAutoSize.ImageIndex = CType(resources.GetObject("chkAutoSize.ImageIndex"), Integer)
        Me.chkAutoSize.ImeMode = CType(resources.GetObject("chkAutoSize.ImeMode"), System.Windows.Forms.ImeMode)
        Me.chkAutoSize.Location = CType(resources.GetObject("chkAutoSize.Location"), System.Drawing.Point)
        Me.chkAutoSize.Name = "chkAutoSize"
        Me.chkAutoSize.RightToLeft = CType(resources.GetObject("chkAutoSize.RightToLeft"), System.Windows.Forms.RightToLeft)
        Me.chkAutoSize.Size = CType(resources.GetObject("chkAutoSize.Size"), System.Drawing.Size)
        Me.chkAutoSize.TabIndex = CType(resources.GetObject("chkAutoSize.TabIndex"), Integer)
        Me.chkAutoSize.Text = resources.GetString("chkAutoSize.Text")
        Me.chkAutoSize.TextAlign = CType(resources.GetObject("chkAutoSize.TextAlign"), System.Drawing.ContentAlignment)
        Me.chkAutoSize.Visible = CType(resources.GetObject("chkAutoSize.Visible"), Boolean)
        '
        'gbMargins
        '
        Me.gbMargins.AccessibleDescription = resources.GetString("gbMargins.AccessibleDescription")
        Me.gbMargins.AccessibleName = resources.GetString("gbMargins.AccessibleName")
        Me.gbMargins.Anchor = CType(resources.GetObject("gbMargins.Anchor"), System.Windows.Forms.AnchorStyles)
        Me.gbMargins.BackgroundImage = CType(resources.GetObject("gbMargins.BackgroundImage"), System.Drawing.Image)
        Me.gbMargins.Controls.Add(Me.nudTopMargin)
        Me.gbMargins.Controls.Add(Me.nudRightMargin)
        Me.gbMargins.Controls.Add(Me.nudBottomMargin)
        Me.gbMargins.Controls.Add(Me.lblLeftMargin)
        Me.gbMargins.Controls.Add(Me.lblRightMargin)
        Me.gbMargins.Controls.Add(Me.lblTopMargin)
        Me.gbMargins.Controls.Add(Me.lblBottomMargin)
        Me.gbMargins.Controls.Add(Me.nudLeftMargin)
        Me.gbMargins.Dock = CType(resources.GetObject("gbMargins.Dock"), System.Windows.Forms.DockStyle)
        Me.gbMargins.Enabled = CType(resources.GetObject("gbMargins.Enabled"), Boolean)
        Me.gbMargins.Font = CType(resources.GetObject("gbMargins.Font"), System.Drawing.Font)
        Me.gbMargins.ImeMode = CType(resources.GetObject("gbMargins.ImeMode"), System.Windows.Forms.ImeMode)
        Me.gbMargins.Location = CType(resources.GetObject("gbMargins.Location"), System.Drawing.Point)
        Me.gbMargins.Name = "gbMargins"
        Me.gbMargins.RightToLeft = CType(resources.GetObject("gbMargins.RightToLeft"), System.Windows.Forms.RightToLeft)
        Me.gbMargins.Size = CType(resources.GetObject("gbMargins.Size"), System.Drawing.Size)
        Me.gbMargins.TabIndex = CType(resources.GetObject("gbMargins.TabIndex"), Integer)
        Me.gbMargins.TabStop = False
        Me.gbMargins.Text = resources.GetString("gbMargins.Text")
        Me.gbMargins.Visible = CType(resources.GetObject("gbMargins.Visible"), Boolean)
        '
        'nudTopMargin
        '
        Me.nudTopMargin.AccessibleDescription = resources.GetString("nudTopMargin.AccessibleDescription")
        Me.nudTopMargin.AccessibleName = resources.GetString("nudTopMargin.AccessibleName")
        Me.nudTopMargin.Anchor = CType(resources.GetObject("nudTopMargin.Anchor"), System.Windows.Forms.AnchorStyles)
        Me.nudTopMargin.Dock = CType(resources.GetObject("nudTopMargin.Dock"), System.Windows.Forms.DockStyle)
        Me.nudTopMargin.Enabled = CType(resources.GetObject("nudTopMargin.Enabled"), Boolean)
        Me.nudTopMargin.Font = CType(resources.GetObject("nudTopMargin.Font"), System.Drawing.Font)
        Me.nudTopMargin.ImeMode = CType(resources.GetObject("nudTopMargin.ImeMode"), System.Windows.Forms.ImeMode)
        Me.nudTopMargin.Location = CType(resources.GetObject("nudTopMargin.Location"), System.Drawing.Point)
        Me.nudTopMargin.Maximum = New Decimal(New Integer() {10000, 0, 0, 0})
        Me.nudTopMargin.Name = "nudTopMargin"
        Me.nudTopMargin.RightToLeft = CType(resources.GetObject("nudTopMargin.RightToLeft"), System.Windows.Forms.RightToLeft)
        Me.nudTopMargin.Size = CType(resources.GetObject("nudTopMargin.Size"), System.Drawing.Size)
        Me.nudTopMargin.TabIndex = CType(resources.GetObject("nudTopMargin.TabIndex"), Integer)
        Me.nudTopMargin.TextAlign = CType(resources.GetObject("nudTopMargin.TextAlign"), System.Windows.Forms.HorizontalAlignment)
        Me.nudTopMargin.ThousandsSeparator = CType(resources.GetObject("nudTopMargin.ThousandsSeparator"), Boolean)
        Me.nudTopMargin.UpDownAlign = CType(resources.GetObject("nudTopMargin.UpDownAlign"), System.Windows.Forms.LeftRightAlignment)
        Me.nudTopMargin.Visible = CType(resources.GetObject("nudTopMargin.Visible"), Boolean)
        '
        'nudRightMargin
        '
        Me.nudRightMargin.AccessibleDescription = resources.GetString("nudRightMargin.AccessibleDescription")
        Me.nudRightMargin.AccessibleName = resources.GetString("nudRightMargin.AccessibleName")
        Me.nudRightMargin.Anchor = CType(resources.GetObject("nudRightMargin.Anchor"), System.Windows.Forms.AnchorStyles)
        Me.nudRightMargin.Dock = CType(resources.GetObject("nudRightMargin.Dock"), System.Windows.Forms.DockStyle)
        Me.nudRightMargin.Enabled = CType(resources.GetObject("nudRightMargin.Enabled"), Boolean)
        Me.nudRightMargin.Font = CType(resources.GetObject("nudRightMargin.Font"), System.Drawing.Font)
        Me.nudRightMargin.ImeMode = CType(resources.GetObject("nudRightMargin.ImeMode"), System.Windows.Forms.ImeMode)
        Me.nudRightMargin.Location = CType(resources.GetObject("nudRightMargin.Location"), System.Drawing.Point)
        Me.nudRightMargin.Maximum = New Decimal(New Integer() {10000, 0, 0, 0})
        Me.nudRightMargin.Name = "nudRightMargin"
        Me.nudRightMargin.RightToLeft = CType(resources.GetObject("nudRightMargin.RightToLeft"), System.Windows.Forms.RightToLeft)
        Me.nudRightMargin.Size = CType(resources.GetObject("nudRightMargin.Size"), System.Drawing.Size)
        Me.nudRightMargin.TabIndex = CType(resources.GetObject("nudRightMargin.TabIndex"), Integer)
        Me.nudRightMargin.TextAlign = CType(resources.GetObject("nudRightMargin.TextAlign"), System.Windows.Forms.HorizontalAlignment)
        Me.nudRightMargin.ThousandsSeparator = CType(resources.GetObject("nudRightMargin.ThousandsSeparator"), Boolean)
        Me.nudRightMargin.UpDownAlign = CType(resources.GetObject("nudRightMargin.UpDownAlign"), System.Windows.Forms.LeftRightAlignment)
        Me.nudRightMargin.Visible = CType(resources.GetObject("nudRightMargin.Visible"), Boolean)
        '
        'nudBottomMargin
        '
        Me.nudBottomMargin.AccessibleDescription = resources.GetString("nudBottomMargin.AccessibleDescription")
        Me.nudBottomMargin.AccessibleName = resources.GetString("nudBottomMargin.AccessibleName")
        Me.nudBottomMargin.Anchor = CType(resources.GetObject("nudBottomMargin.Anchor"), System.Windows.Forms.AnchorStyles)
        Me.nudBottomMargin.Dock = CType(resources.GetObject("nudBottomMargin.Dock"), System.Windows.Forms.DockStyle)
        Me.nudBottomMargin.Enabled = CType(resources.GetObject("nudBottomMargin.Enabled"), Boolean)
        Me.nudBottomMargin.Font = CType(resources.GetObject("nudBottomMargin.Font"), System.Drawing.Font)
        Me.nudBottomMargin.ImeMode = CType(resources.GetObject("nudBottomMargin.ImeMode"), System.Windows.Forms.ImeMode)
        Me.nudBottomMargin.Location = CType(resources.GetObject("nudBottomMargin.Location"), System.Drawing.Point)
        Me.nudBottomMargin.Maximum = New Decimal(New Integer() {10000, 0, 0, 0})
        Me.nudBottomMargin.Name = "nudBottomMargin"
        Me.nudBottomMargin.RightToLeft = CType(resources.GetObject("nudBottomMargin.RightToLeft"), System.Windows.Forms.RightToLeft)
        Me.nudBottomMargin.Size = CType(resources.GetObject("nudBottomMargin.Size"), System.Drawing.Size)
        Me.nudBottomMargin.TabIndex = CType(resources.GetObject("nudBottomMargin.TabIndex"), Integer)
        Me.nudBottomMargin.TextAlign = CType(resources.GetObject("nudBottomMargin.TextAlign"), System.Windows.Forms.HorizontalAlignment)
        Me.nudBottomMargin.ThousandsSeparator = CType(resources.GetObject("nudBottomMargin.ThousandsSeparator"), Boolean)
        Me.nudBottomMargin.UpDownAlign = CType(resources.GetObject("nudBottomMargin.UpDownAlign"), System.Windows.Forms.LeftRightAlignment)
        Me.nudBottomMargin.Visible = CType(resources.GetObject("nudBottomMargin.Visible"), Boolean)
        '
        'lblLeftMargin
        '
        Me.lblLeftMargin.AccessibleDescription = resources.GetString("lblLeftMargin.AccessibleDescription")
        Me.lblLeftMargin.AccessibleName = resources.GetString("lblLeftMargin.AccessibleName")
        Me.lblLeftMargin.Anchor = CType(resources.GetObject("lblLeftMargin.Anchor"), System.Windows.Forms.AnchorStyles)
        Me.lblLeftMargin.AutoSize = CType(resources.GetObject("lblLeftMargin.AutoSize"), Boolean)
        Me.lblLeftMargin.Dock = CType(resources.GetObject("lblLeftMargin.Dock"), System.Windows.Forms.DockStyle)
        Me.lblLeftMargin.Enabled = CType(resources.GetObject("lblLeftMargin.Enabled"), Boolean)
        Me.lblLeftMargin.Font = CType(resources.GetObject("lblLeftMargin.Font"), System.Drawing.Font)
        Me.lblLeftMargin.Image = CType(resources.GetObject("lblLeftMargin.Image"), System.Drawing.Image)
        Me.lblLeftMargin.ImageAlign = CType(resources.GetObject("lblLeftMargin.ImageAlign"), System.Drawing.ContentAlignment)
        Me.lblLeftMargin.ImageIndex = CType(resources.GetObject("lblLeftMargin.ImageIndex"), Integer)
        Me.lblLeftMargin.ImeMode = CType(resources.GetObject("lblLeftMargin.ImeMode"), System.Windows.Forms.ImeMode)
        Me.lblLeftMargin.Location = CType(resources.GetObject("lblLeftMargin.Location"), System.Drawing.Point)
        Me.lblLeftMargin.Name = "lblLeftMargin"
        Me.lblLeftMargin.RightToLeft = CType(resources.GetObject("lblLeftMargin.RightToLeft"), System.Windows.Forms.RightToLeft)
        Me.lblLeftMargin.Size = CType(resources.GetObject("lblLeftMargin.Size"), System.Drawing.Size)
        Me.lblLeftMargin.TabIndex = CType(resources.GetObject("lblLeftMargin.TabIndex"), Integer)
        Me.lblLeftMargin.Text = resources.GetString("lblLeftMargin.Text")
        Me.lblLeftMargin.TextAlign = CType(resources.GetObject("lblLeftMargin.TextAlign"), System.Drawing.ContentAlignment)
        Me.lblLeftMargin.Visible = CType(resources.GetObject("lblLeftMargin.Visible"), Boolean)
        '
        'lblRightMargin
        '
        Me.lblRightMargin.AccessibleDescription = resources.GetString("lblRightMargin.AccessibleDescription")
        Me.lblRightMargin.AccessibleName = resources.GetString("lblRightMargin.AccessibleName")
        Me.lblRightMargin.Anchor = CType(resources.GetObject("lblRightMargin.Anchor"), System.Windows.Forms.AnchorStyles)
        Me.lblRightMargin.AutoSize = CType(resources.GetObject("lblRightMargin.AutoSize"), Boolean)
        Me.lblRightMargin.Dock = CType(resources.GetObject("lblRightMargin.Dock"), System.Windows.Forms.DockStyle)
        Me.lblRightMargin.Enabled = CType(resources.GetObject("lblRightMargin.Enabled"), Boolean)
        Me.lblRightMargin.Font = CType(resources.GetObject("lblRightMargin.Font"), System.Drawing.Font)
        Me.lblRightMargin.Image = CType(resources.GetObject("lblRightMargin.Image"), System.Drawing.Image)
        Me.lblRightMargin.ImageAlign = CType(resources.GetObject("lblRightMargin.ImageAlign"), System.Drawing.ContentAlignment)
        Me.lblRightMargin.ImageIndex = CType(resources.GetObject("lblRightMargin.ImageIndex"), Integer)
        Me.lblRightMargin.ImeMode = CType(resources.GetObject("lblRightMargin.ImeMode"), System.Windows.Forms.ImeMode)
        Me.lblRightMargin.Location = CType(resources.GetObject("lblRightMargin.Location"), System.Drawing.Point)
        Me.lblRightMargin.Name = "lblRightMargin"
        Me.lblRightMargin.RightToLeft = CType(resources.GetObject("lblRightMargin.RightToLeft"), System.Windows.Forms.RightToLeft)
        Me.lblRightMargin.Size = CType(resources.GetObject("lblRightMargin.Size"), System.Drawing.Size)
        Me.lblRightMargin.TabIndex = CType(resources.GetObject("lblRightMargin.TabIndex"), Integer)
        Me.lblRightMargin.Text = resources.GetString("lblRightMargin.Text")
        Me.lblRightMargin.TextAlign = CType(resources.GetObject("lblRightMargin.TextAlign"), System.Drawing.ContentAlignment)
        Me.lblRightMargin.Visible = CType(resources.GetObject("lblRightMargin.Visible"), Boolean)
        '
        'lblTopMargin
        '
        Me.lblTopMargin.AccessibleDescription = resources.GetString("lblTopMargin.AccessibleDescription")
        Me.lblTopMargin.AccessibleName = resources.GetString("lblTopMargin.AccessibleName")
        Me.lblTopMargin.Anchor = CType(resources.GetObject("lblTopMargin.Anchor"), System.Windows.Forms.AnchorStyles)
        Me.lblTopMargin.AutoSize = CType(resources.GetObject("lblTopMargin.AutoSize"), Boolean)
        Me.lblTopMargin.Dock = CType(resources.GetObject("lblTopMargin.Dock"), System.Windows.Forms.DockStyle)
        Me.lblTopMargin.Enabled = CType(resources.GetObject("lblTopMargin.Enabled"), Boolean)
        Me.lblTopMargin.Font = CType(resources.GetObject("lblTopMargin.Font"), System.Drawing.Font)
        Me.lblTopMargin.Image = CType(resources.GetObject("lblTopMargin.Image"), System.Drawing.Image)
        Me.lblTopMargin.ImageAlign = CType(resources.GetObject("lblTopMargin.ImageAlign"), System.Drawing.ContentAlignment)
        Me.lblTopMargin.ImageIndex = CType(resources.GetObject("lblTopMargin.ImageIndex"), Integer)
        Me.lblTopMargin.ImeMode = CType(resources.GetObject("lblTopMargin.ImeMode"), System.Windows.Forms.ImeMode)
        Me.lblTopMargin.Location = CType(resources.GetObject("lblTopMargin.Location"), System.Drawing.Point)
        Me.lblTopMargin.Name = "lblTopMargin"
        Me.lblTopMargin.RightToLeft = CType(resources.GetObject("lblTopMargin.RightToLeft"), System.Windows.Forms.RightToLeft)
        Me.lblTopMargin.Size = CType(resources.GetObject("lblTopMargin.Size"), System.Drawing.Size)
        Me.lblTopMargin.TabIndex = CType(resources.GetObject("lblTopMargin.TabIndex"), Integer)
        Me.lblTopMargin.Text = resources.GetString("lblTopMargin.Text")
        Me.lblTopMargin.TextAlign = CType(resources.GetObject("lblTopMargin.TextAlign"), System.Drawing.ContentAlignment)
        Me.lblTopMargin.Visible = CType(resources.GetObject("lblTopMargin.Visible"), Boolean)
        '
        'lblBottomMargin
        '
        Me.lblBottomMargin.AccessibleDescription = resources.GetString("lblBottomMargin.AccessibleDescription")
        Me.lblBottomMargin.AccessibleName = resources.GetString("lblBottomMargin.AccessibleName")
        Me.lblBottomMargin.Anchor = CType(resources.GetObject("lblBottomMargin.Anchor"), System.Windows.Forms.AnchorStyles)
        Me.lblBottomMargin.AutoSize = CType(resources.GetObject("lblBottomMargin.AutoSize"), Boolean)
        Me.lblBottomMargin.Dock = CType(resources.GetObject("lblBottomMargin.Dock"), System.Windows.Forms.DockStyle)
        Me.lblBottomMargin.Enabled = CType(resources.GetObject("lblBottomMargin.Enabled"), Boolean)
        Me.lblBottomMargin.Font = CType(resources.GetObject("lblBottomMargin.Font"), System.Drawing.Font)
        Me.lblBottomMargin.Image = CType(resources.GetObject("lblBottomMargin.Image"), System.Drawing.Image)
        Me.lblBottomMargin.ImageAlign = CType(resources.GetObject("lblBottomMargin.ImageAlign"), System.Drawing.ContentAlignment)
        Me.lblBottomMargin.ImageIndex = CType(resources.GetObject("lblBottomMargin.ImageIndex"), Integer)
        Me.lblBottomMargin.ImeMode = CType(resources.GetObject("lblBottomMargin.ImeMode"), System.Windows.Forms.ImeMode)
        Me.lblBottomMargin.Location = CType(resources.GetObject("lblBottomMargin.Location"), System.Drawing.Point)
        Me.lblBottomMargin.Name = "lblBottomMargin"
        Me.lblBottomMargin.RightToLeft = CType(resources.GetObject("lblBottomMargin.RightToLeft"), System.Windows.Forms.RightToLeft)
        Me.lblBottomMargin.Size = CType(resources.GetObject("lblBottomMargin.Size"), System.Drawing.Size)
        Me.lblBottomMargin.TabIndex = CType(resources.GetObject("lblBottomMargin.TabIndex"), Integer)
        Me.lblBottomMargin.Text = resources.GetString("lblBottomMargin.Text")
        Me.lblBottomMargin.TextAlign = CType(resources.GetObject("lblBottomMargin.TextAlign"), System.Drawing.ContentAlignment)
        Me.lblBottomMargin.Visible = CType(resources.GetObject("lblBottomMargin.Visible"), Boolean)
        '
        'nudLeftMargin
        '
        Me.nudLeftMargin.AccessibleDescription = resources.GetString("nudLeftMargin.AccessibleDescription")
        Me.nudLeftMargin.AccessibleName = resources.GetString("nudLeftMargin.AccessibleName")
        Me.nudLeftMargin.Anchor = CType(resources.GetObject("nudLeftMargin.Anchor"), System.Windows.Forms.AnchorStyles)
        Me.nudLeftMargin.Dock = CType(resources.GetObject("nudLeftMargin.Dock"), System.Windows.Forms.DockStyle)
        Me.nudLeftMargin.Enabled = CType(resources.GetObject("nudLeftMargin.Enabled"), Boolean)
        Me.nudLeftMargin.Font = CType(resources.GetObject("nudLeftMargin.Font"), System.Drawing.Font)
        Me.nudLeftMargin.ImeMode = CType(resources.GetObject("nudLeftMargin.ImeMode"), System.Windows.Forms.ImeMode)
        Me.nudLeftMargin.Location = CType(resources.GetObject("nudLeftMargin.Location"), System.Drawing.Point)
        Me.nudLeftMargin.Maximum = New Decimal(New Integer() {10000, 0, 0, 0})
        Me.nudLeftMargin.Name = "nudLeftMargin"
        Me.nudLeftMargin.RightToLeft = CType(resources.GetObject("nudLeftMargin.RightToLeft"), System.Windows.Forms.RightToLeft)
        Me.nudLeftMargin.Size = CType(resources.GetObject("nudLeftMargin.Size"), System.Drawing.Size)
        Me.nudLeftMargin.TabIndex = CType(resources.GetObject("nudLeftMargin.TabIndex"), Integer)
        Me.nudLeftMargin.TextAlign = CType(resources.GetObject("nudLeftMargin.TextAlign"), System.Windows.Forms.HorizontalAlignment)
        Me.nudLeftMargin.ThousandsSeparator = CType(resources.GetObject("nudLeftMargin.ThousandsSeparator"), Boolean)
        Me.nudLeftMargin.UpDownAlign = CType(resources.GetObject("nudLeftMargin.UpDownAlign"), System.Windows.Forms.LeftRightAlignment)
        Me.nudLeftMargin.Visible = CType(resources.GetObject("nudLeftMargin.Visible"), Boolean)
        '
        'chkTabStop
        '
        Me.chkTabStop.AccessibleDescription = resources.GetString("chkTabStop.AccessibleDescription")
        Me.chkTabStop.AccessibleName = resources.GetString("chkTabStop.AccessibleName")
        Me.chkTabStop.Anchor = CType(resources.GetObject("chkTabStop.Anchor"), System.Windows.Forms.AnchorStyles)
        Me.chkTabStop.Appearance = CType(resources.GetObject("chkTabStop.Appearance"), System.Windows.Forms.Appearance)
        Me.chkTabStop.BackgroundImage = CType(resources.GetObject("chkTabStop.BackgroundImage"), System.Drawing.Image)
        Me.chkTabStop.CheckAlign = CType(resources.GetObject("chkTabStop.CheckAlign"), System.Drawing.ContentAlignment)
        Me.chkTabStop.Dock = CType(resources.GetObject("chkTabStop.Dock"), System.Windows.Forms.DockStyle)
        Me.chkTabStop.Enabled = CType(resources.GetObject("chkTabStop.Enabled"), Boolean)
        Me.chkTabStop.FlatStyle = CType(resources.GetObject("chkTabStop.FlatStyle"), System.Windows.Forms.FlatStyle)
        Me.chkTabStop.Font = CType(resources.GetObject("chkTabStop.Font"), System.Drawing.Font)
        Me.chkTabStop.Image = CType(resources.GetObject("chkTabStop.Image"), System.Drawing.Image)
        Me.chkTabStop.ImageAlign = CType(resources.GetObject("chkTabStop.ImageAlign"), System.Drawing.ContentAlignment)
        Me.chkTabStop.ImageIndex = CType(resources.GetObject("chkTabStop.ImageIndex"), Integer)
        Me.chkTabStop.ImeMode = CType(resources.GetObject("chkTabStop.ImeMode"), System.Windows.Forms.ImeMode)
        Me.chkTabStop.Location = CType(resources.GetObject("chkTabStop.Location"), System.Drawing.Point)
        Me.chkTabStop.Name = "chkTabStop"
        Me.chkTabStop.RightToLeft = CType(resources.GetObject("chkTabStop.RightToLeft"), System.Windows.Forms.RightToLeft)
        Me.chkTabStop.Size = CType(resources.GetObject("chkTabStop.Size"), System.Drawing.Size)
        Me.chkTabStop.TabIndex = CType(resources.GetObject("chkTabStop.TabIndex"), Integer)
        Me.chkTabStop.Text = resources.GetString("chkTabStop.Text")
        Me.chkTabStop.TextAlign = CType(resources.GetObject("chkTabStop.TextAlign"), System.Drawing.ContentAlignment)
        Me.chkTabStop.Visible = CType(resources.GetObject("chkTabStop.Visible"), Boolean)
        '
        'lblTabIndex
        '
        Me.lblTabIndex.AccessibleDescription = resources.GetString("lblTabIndex.AccessibleDescription")
        Me.lblTabIndex.AccessibleName = resources.GetString("lblTabIndex.AccessibleName")
        Me.lblTabIndex.Anchor = CType(resources.GetObject("lblTabIndex.Anchor"), System.Windows.Forms.AnchorStyles)
        Me.lblTabIndex.AutoSize = CType(resources.GetObject("lblTabIndex.AutoSize"), Boolean)
        Me.lblTabIndex.Dock = CType(resources.GetObject("lblTabIndex.Dock"), System.Windows.Forms.DockStyle)
        Me.lblTabIndex.Enabled = CType(resources.GetObject("lblTabIndex.Enabled"), Boolean)
        Me.lblTabIndex.Font = CType(resources.GetObject("lblTabIndex.Font"), System.Drawing.Font)
        Me.lblTabIndex.Image = CType(resources.GetObject("lblTabIndex.Image"), System.Drawing.Image)
        Me.lblTabIndex.ImageAlign = CType(resources.GetObject("lblTabIndex.ImageAlign"), System.Drawing.ContentAlignment)
        Me.lblTabIndex.ImageIndex = CType(resources.GetObject("lblTabIndex.ImageIndex"), Integer)
        Me.lblTabIndex.ImeMode = CType(resources.GetObject("lblTabIndex.ImeMode"), System.Windows.Forms.ImeMode)
        Me.lblTabIndex.Location = CType(resources.GetObject("lblTabIndex.Location"), System.Drawing.Point)
        Me.lblTabIndex.Name = "lblTabIndex"
        Me.lblTabIndex.RightToLeft = CType(resources.GetObject("lblTabIndex.RightToLeft"), System.Windows.Forms.RightToLeft)
        Me.lblTabIndex.Size = CType(resources.GetObject("lblTabIndex.Size"), System.Drawing.Size)
        Me.lblTabIndex.TabIndex = CType(resources.GetObject("lblTabIndex.TabIndex"), Integer)
        Me.lblTabIndex.Text = resources.GetString("lblTabIndex.Text")
        Me.lblTabIndex.TextAlign = CType(resources.GetObject("lblTabIndex.TextAlign"), System.Drawing.ContentAlignment)
        Me.lblTabIndex.Visible = CType(resources.GetObject("lblTabIndex.Visible"), Boolean)
        '
        'nudTabIndex
        '
        Me.nudTabIndex.AccessibleDescription = resources.GetString("nudTabIndex.AccessibleDescription")
        Me.nudTabIndex.AccessibleName = resources.GetString("nudTabIndex.AccessibleName")
        Me.nudTabIndex.Anchor = CType(resources.GetObject("nudTabIndex.Anchor"), System.Windows.Forms.AnchorStyles)
        Me.nudTabIndex.Dock = CType(resources.GetObject("nudTabIndex.Dock"), System.Windows.Forms.DockStyle)
        Me.nudTabIndex.Enabled = CType(resources.GetObject("nudTabIndex.Enabled"), Boolean)
        Me.nudTabIndex.Font = CType(resources.GetObject("nudTabIndex.Font"), System.Drawing.Font)
        Me.nudTabIndex.ImeMode = CType(resources.GetObject("nudTabIndex.ImeMode"), System.Windows.Forms.ImeMode)
        Me.nudTabIndex.Location = CType(resources.GetObject("nudTabIndex.Location"), System.Drawing.Point)
        Me.nudTabIndex.Maximum = New Decimal(New Integer() {10000, 0, 0, 0})
        Me.nudTabIndex.Name = "nudTabIndex"
        Me.nudTabIndex.RightToLeft = CType(resources.GetObject("nudTabIndex.RightToLeft"), System.Windows.Forms.RightToLeft)
        Me.nudTabIndex.Size = CType(resources.GetObject("nudTabIndex.Size"), System.Drawing.Size)
        Me.nudTabIndex.TabIndex = CType(resources.GetObject("nudTabIndex.TabIndex"), Integer)
        Me.nudTabIndex.TextAlign = CType(resources.GetObject("nudTabIndex.TextAlign"), System.Windows.Forms.HorizontalAlignment)
        Me.nudTabIndex.ThousandsSeparator = CType(resources.GetObject("nudTabIndex.ThousandsSeparator"), Boolean)
        Me.nudTabIndex.UpDownAlign = CType(resources.GetObject("nudTabIndex.UpDownAlign"), System.Windows.Forms.LeftRightAlignment)
        Me.nudTabIndex.Visible = CType(resources.GetObject("nudTabIndex.Visible"), Boolean)
        '
        'txtToolTip
        '
        Me.txtToolTip.AccessibleDescription = resources.GetString("txtToolTip.AccessibleDescription")
        Me.txtToolTip.AccessibleName = resources.GetString("txtToolTip.AccessibleName")
        Me.txtToolTip.Anchor = CType(resources.GetObject("txtToolTip.Anchor"), System.Windows.Forms.AnchorStyles)
        Me.txtToolTip.AutoSize = CType(resources.GetObject("txtToolTip.AutoSize"), Boolean)
        Me.txtToolTip.BackgroundImage = CType(resources.GetObject("txtToolTip.BackgroundImage"), System.Drawing.Image)
        Me.txtToolTip.Dock = CType(resources.GetObject("txtToolTip.Dock"), System.Windows.Forms.DockStyle)
        Me.txtToolTip.Enabled = CType(resources.GetObject("txtToolTip.Enabled"), Boolean)
        Me.txtToolTip.Font = CType(resources.GetObject("txtToolTip.Font"), System.Drawing.Font)
        Me.txtToolTip.ImeMode = CType(resources.GetObject("txtToolTip.ImeMode"), System.Windows.Forms.ImeMode)
        Me.txtToolTip.Location = CType(resources.GetObject("txtToolTip.Location"), System.Drawing.Point)
        Me.txtToolTip.MaxLength = CType(resources.GetObject("txtToolTip.MaxLength"), Integer)
        Me.txtToolTip.Multiline = CType(resources.GetObject("txtToolTip.Multiline"), Boolean)
        Me.txtToolTip.Name = "txtToolTip"
        Me.txtToolTip.PasswordChar = CType(resources.GetObject("txtToolTip.PasswordChar"), Char)
        Me.txtToolTip.RightToLeft = CType(resources.GetObject("txtToolTip.RightToLeft"), System.Windows.Forms.RightToLeft)
        Me.txtToolTip.ScrollBars = CType(resources.GetObject("txtToolTip.ScrollBars"), System.Windows.Forms.ScrollBars)
        Me.txtToolTip.Size = CType(resources.GetObject("txtToolTip.Size"), System.Drawing.Size)
        Me.txtToolTip.TabIndex = CType(resources.GetObject("txtToolTip.TabIndex"), Integer)
        Me.txtToolTip.Text = resources.GetString("txtToolTip.Text")
        Me.txtToolTip.TextAlign = CType(resources.GetObject("txtToolTip.TextAlign"), System.Windows.Forms.HorizontalAlignment)
        Me.txtToolTip.Visible = CType(resources.GetObject("txtToolTip.Visible"), Boolean)
        Me.txtToolTip.WordWrap = CType(resources.GetObject("txtToolTip.WordWrap"), Boolean)
        '
        'lblToolTip
        '
        Me.lblToolTip.AccessibleDescription = resources.GetString("lblToolTip.AccessibleDescription")
        Me.lblToolTip.AccessibleName = resources.GetString("lblToolTip.AccessibleName")
        Me.lblToolTip.Anchor = CType(resources.GetObject("lblToolTip.Anchor"), System.Windows.Forms.AnchorStyles)
        Me.lblToolTip.AutoSize = CType(resources.GetObject("lblToolTip.AutoSize"), Boolean)
        Me.lblToolTip.Dock = CType(resources.GetObject("lblToolTip.Dock"), System.Windows.Forms.DockStyle)
        Me.lblToolTip.Enabled = CType(resources.GetObject("lblToolTip.Enabled"), Boolean)
        Me.lblToolTip.Font = CType(resources.GetObject("lblToolTip.Font"), System.Drawing.Font)
        Me.lblToolTip.Image = CType(resources.GetObject("lblToolTip.Image"), System.Drawing.Image)
        Me.lblToolTip.ImageAlign = CType(resources.GetObject("lblToolTip.ImageAlign"), System.Drawing.ContentAlignment)
        Me.lblToolTip.ImageIndex = CType(resources.GetObject("lblToolTip.ImageIndex"), Integer)
        Me.lblToolTip.ImeMode = CType(resources.GetObject("lblToolTip.ImeMode"), System.Windows.Forms.ImeMode)
        Me.lblToolTip.Location = CType(resources.GetObject("lblToolTip.Location"), System.Drawing.Point)
        Me.lblToolTip.Name = "lblToolTip"
        Me.lblToolTip.RightToLeft = CType(resources.GetObject("lblToolTip.RightToLeft"), System.Windows.Forms.RightToLeft)
        Me.lblToolTip.Size = CType(resources.GetObject("lblToolTip.Size"), System.Drawing.Size)
        Me.lblToolTip.TabIndex = CType(resources.GetObject("lblToolTip.TabIndex"), Integer)
        Me.lblToolTip.Text = resources.GetString("lblToolTip.Text")
        Me.lblToolTip.TextAlign = CType(resources.GetObject("lblToolTip.TextAlign"), System.Drawing.ContentAlignment)
        Me.lblToolTip.Visible = CType(resources.GetObject("lblToolTip.Visible"), Boolean)
        '
        'cboChildRelation
        '
        Me.cboChildRelation.AccessibleDescription = resources.GetString("cboChildRelation.AccessibleDescription")
        Me.cboChildRelation.AccessibleName = resources.GetString("cboChildRelation.AccessibleName")
        Me.cboChildRelation.Anchor = CType(resources.GetObject("cboChildRelation.Anchor"), System.Windows.Forms.AnchorStyles)
        Me.cboChildRelation.BackColor = System.Drawing.SystemColors.Window
        Me.cboChildRelation.BackgroundImage = CType(resources.GetObject("cboChildRelation.BackgroundImage"), System.Drawing.Image)
        Me.cboChildRelation.Dock = CType(resources.GetObject("cboChildRelation.Dock"), System.Windows.Forms.DockStyle)
        Me.cboChildRelation.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
        Me.cboChildRelation.Enabled = CType(resources.GetObject("cboChildRelation.Enabled"), Boolean)
        Me.cboChildRelation.Font = CType(resources.GetObject("cboChildRelation.Font"), System.Drawing.Font)
        Me.cboChildRelation.ImeMode = CType(resources.GetObject("cboChildRelation.ImeMode"), System.Windows.Forms.ImeMode)
        Me.cboChildRelation.IntegralHeight = CType(resources.GetObject("cboChildRelation.IntegralHeight"), Boolean)
        Me.cboChildRelation.ItemHeight = CType(resources.GetObject("cboChildRelation.ItemHeight"), Integer)
        Me.cboChildRelation.Location = CType(resources.GetObject("cboChildRelation.Location"), System.Drawing.Point)
        Me.cboChildRelation.MaxDropDownItems = CType(resources.GetObject("cboChildRelation.MaxDropDownItems"), Integer)
        Me.cboChildRelation.MaxLength = CType(resources.GetObject("cboChildRelation.MaxLength"), Integer)
        Me.cboChildRelation.Name = "cboChildRelation"
        Me.cboChildRelation.RightToLeft = CType(resources.GetObject("cboChildRelation.RightToLeft"), System.Windows.Forms.RightToLeft)
        Me.cboChildRelation.Size = CType(resources.GetObject("cboChildRelation.Size"), System.Drawing.Size)
        Me.cboChildRelation.TabIndex = CType(resources.GetObject("cboChildRelation.TabIndex"), Integer)
        Me.cboChildRelation.Text = resources.GetString("cboChildRelation.Text")
        Me.cboChildRelation.Visible = CType(resources.GetObject("cboChildRelation.Visible"), Boolean)
        '
        'lblChildRelation
        '
        Me.lblChildRelation.AccessibleDescription = resources.GetString("lblChildRelation.AccessibleDescription")
        Me.lblChildRelation.AccessibleName = resources.GetString("lblChildRelation.AccessibleName")
        Me.lblChildRelation.Anchor = CType(resources.GetObject("lblChildRelation.Anchor"), System.Windows.Forms.AnchorStyles)
        Me.lblChildRelation.AutoSize = CType(resources.GetObject("lblChildRelation.AutoSize"), Boolean)
        Me.lblChildRelation.Dock = CType(resources.GetObject("lblChildRelation.Dock"), System.Windows.Forms.DockStyle)
        Me.lblChildRelation.Enabled = CType(resources.GetObject("lblChildRelation.Enabled"), Boolean)
        Me.lblChildRelation.Font = CType(resources.GetObject("lblChildRelation.Font"), System.Drawing.Font)
        Me.lblChildRelation.Image = CType(resources.GetObject("lblChildRelation.Image"), System.Drawing.Image)
        Me.lblChildRelation.ImageAlign = CType(resources.GetObject("lblChildRelation.ImageAlign"), System.Drawing.ContentAlignment)
        Me.lblChildRelation.ImageIndex = CType(resources.GetObject("lblChildRelation.ImageIndex"), Integer)
        Me.lblChildRelation.ImeMode = CType(resources.GetObject("lblChildRelation.ImeMode"), System.Windows.Forms.ImeMode)
        Me.lblChildRelation.Location = CType(resources.GetObject("lblChildRelation.Location"), System.Drawing.Point)
        Me.lblChildRelation.Name = "lblChildRelation"
        Me.lblChildRelation.RightToLeft = CType(resources.GetObject("lblChildRelation.RightToLeft"), System.Windows.Forms.RightToLeft)
        Me.lblChildRelation.Size = CType(resources.GetObject("lblChildRelation.Size"), System.Drawing.Size)
        Me.lblChildRelation.TabIndex = CType(resources.GetObject("lblChildRelation.TabIndex"), Integer)
        Me.lblChildRelation.Text = resources.GetString("lblChildRelation.Text")
        Me.lblChildRelation.TextAlign = CType(resources.GetObject("lblChildRelation.TextAlign"), System.Drawing.ContentAlignment)
        Me.lblChildRelation.Visible = CType(resources.GetObject("lblChildRelation.Visible"), Boolean)
        '
        'USub
        '
        Me.AccessibleDescription = resources.GetString("$this.AccessibleDescription")
        Me.AccessibleName = resources.GetString("$this.AccessibleName")
        Me.AutoScroll = CType(resources.GetObject("$this.AutoScroll"), Boolean)
        Me.AutoScrollMargin = CType(resources.GetObject("$this.AutoScrollMargin"), System.Drawing.Size)
        Me.AutoScrollMinSize = CType(resources.GetObject("$this.AutoScrollMinSize"), System.Drawing.Size)
        Me.BackgroundImage = CType(resources.GetObject("$this.BackgroundImage"), System.Drawing.Image)
        Me.Controls.Add(Me.cboChildRelation)
        Me.Controls.Add(Me.lblChildRelation)
        Me.Controls.Add(Me.txtToolTip)
        Me.Controls.Add(Me.lblToolTip)
        Me.Controls.Add(Me.chkTabStop)
        Me.Controls.Add(Me.lblTabIndex)
        Me.Controls.Add(Me.nudTabIndex)
        Me.Controls.Add(Me.gbMargins)
        Me.Controls.Add(Me.chkAutoSize)
        Me.Enabled = CType(resources.GetObject("$this.Enabled"), Boolean)
        Me.Font = CType(resources.GetObject("$this.Font"), System.Drawing.Font)
        Me.ImeMode = CType(resources.GetObject("$this.ImeMode"), System.Windows.Forms.ImeMode)
        Me.Location = CType(resources.GetObject("$this.Location"), System.Drawing.Point)
        Me.Name = "USub"
        Me.RightToLeft = CType(resources.GetObject("$this.RightToLeft"), System.Windows.Forms.RightToLeft)
        Me.Size = CType(resources.GetObject("$this.Size"), System.Drawing.Size)
        Me.gbMargins.ResumeLayout(False)
        CType(Me.nudTopMargin, System.ComponentModel.ISupportInitialize).EndInit()
        CType(Me.nudRightMargin, System.ComponentModel.ISupportInitialize).EndInit()
        CType(Me.nudBottomMargin, System.ComponentModel.ISupportInitialize).EndInit()
        CType(Me.nudLeftMargin, System.ComponentModel.ISupportInitialize).EndInit()
        CType(Me.nudTabIndex, System.ComponentModel.ISupportInitialize).EndInit()
        Me.ResumeLayout(False)

    End Sub

#End Region

    Public Event ValueChanged As EventHandler

    Private Sub USub_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        AddHandler nudTopMargin.ValueChanged, AddressOf OnValueChanged : AddHandler nudTopMargin.TextChanged, AddressOf OnValueChanged
        AddHandler nudBottomMargin.ValueChanged, AddressOf OnValueChanged : AddHandler nudBottomMargin.TextChanged, AddressOf OnValueChanged
        AddHandler nudLeftMargin.ValueChanged, AddressOf OnValueChanged : AddHandler nudLeftMargin.TextChanged, AddressOf OnValueChanged
        AddHandler nudRightMargin.ValueChanged, AddressOf OnValueChanged : AddHandler nudRightMargin.TextChanged, AddressOf OnValueChanged
        AddHandler nudTabIndex.ValueChanged, AddressOf OnValueChanged : AddHandler nudTabIndex.TextChanged, AddressOf OnValueChanged
        AddHandler chkTabStop.CheckedChanged, AddressOf OnValueChanged
        AddHandler txtToolTip.TextChanged, AddressOf OnValueChanged
        AddHandler chkAutoSize.CheckedChanged, AddressOf OnValueChanged
        AddHandler cboChildRelation.SelectionChangeCommitted, AddressOf OnValueChanged
    End Sub

    Protected Sub OnValueChanged(ByVal sender As System.Object, ByVal e As System.EventArgs)
        RaiseEvent ValueChanged(Me, New EventArgs)
    End Sub

    Public Sub Prepare(ByVal section As Model10.Section)
        cboChildRelation.Items.Clear()
        cboChildRelation.Items.Add("[None]")

        Dim rlt As Model10.Relation
        For Each rlt In section.Table.Presentation.Relations
            cboChildRelation.Items.Add(rlt)
        Next : rlt = Nothing
    End Sub

    Public Sub Read(ByVal [sub] As Model10.Sub)
        nudTopMargin.Value = [sub].TopMargin
        nudBottomMargin.Value = [sub].BottomMargin
        nudLeftMargin.Value = [sub].LeftMargin
        nudRightMargin.Value = [sub].RightMargin
        nudTabIndex.Value = [sub].TabIndex
        chkTabStop.Checked = [sub].TabStop
        txtToolTip.Text = [sub].ToolTip
        chkAutoSize.Checked = [sub].AutoSize
        If [sub].ChildRelation Is Nothing Then
            cboChildRelation.SelectedItem = "[None]"
        Else
            cboChildRelation.SelectedItem = [sub].ChildRelation
        End If
    End Sub
    Public Sub Write(ByVal [sub] As Model10.Sub)
        [sub].TopMargin = CInt(nudTopMargin.Value)
        [sub].BottomMargin = CInt(nudBottomMargin.Value)
        [sub].LeftMargin = CInt(nudLeftMargin.Value)
        [sub].RightMargin = CInt(nudRightMargin.Value)
        [sub].TabIndex = CInt(nudTabIndex.Value)
        [sub].TabStop = chkTabStop.Checked
        [sub].ToolTip = txtToolTip.Text
        [sub].AutoSize = chkAutoSize.Checked
        If cboChildRelation.Text = "[None]" Then
            [sub].ChildRelation = Nothing
        Else
            [sub].ChildRelation = CType(cboChildRelation.SelectedItem, Model10.Relation)
        End If
    End Sub
End Class